<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- The HTML 4.01 Transitional DOCTYPE declaration-->
<!-- above set at the top of the file will set     -->
<!-- the browser's rendering engine into           -->
<!-- "Quirks Mode". Replacing this declaration     -->
<!-- with a "Standards Mode" doctype is supported, -->
<!-- but may lead to some differences in layout.   -->

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>JTalk Server</title>
<link rel="stylesheet" type="text/css" href="css/jtalk.css" />
</head>

<body>

<script type='text/javascript' src='js/jquery-1.4.4.min.js'></script>
<script type='text/javascript' src='js/jquery.base64.js'></script>
<script type='text/javascript' src='js/jquery-ui-1.8.9.custom.min.js'></script>
<script type='text/javascript' src='js/jquery.textarea.js'></script>

<script src="jtalk_server?file=jtalk.js"></script>
<script type='text/javascript' src='js/init.js'></script>

<script type='text/javascript'>
function reset() {
	if(confirm('Are you sure?')) {

		$.ajax({
			  url: "/jtalk_server",
			  context: document.body,
			  type: 'POST',
			  data: 'content=reset!bla',
			  success: function(){
			    $(this).addClass("done");
			  }
			});
		
	};
}
function save() {
	if(confirm('Are you sure?')) {
		smalltalk.PersistentScript._new()._sendAllToServlet();
	}
}
</script>


<center>
<h3>JTalk Server
</h3>
cloud-based development of JTalk-based applications <a
	href="http://jtalk-project.org">Jtalk - The Smalltalk for web
developers</a> by <a href="http://www.nicolas-petton.fr/">Nicolas Petton</a>
<br />
for questions regarding JTalk Server contact me (Stefan Krecher): <a
	href="https://profiles.google.com/u/0/stefan.krecher">google-profile</a>,
<a href="http://krecher.com">krecher.com</a>, <a
	href="http://twitter.com/stefcom">follow me on twitter</a>, <a
	href="http://code.google.com/p/jtalk-server/">Project home</a>
</center>
<table align="center" cellspacing="20"
	style="font-size: 70%; font-family: Arial">
	<tr valign="top" align="center">
		<td>
		<button onclick="smalltalk.Browser._open()" >Class browser</button>
		<br />
		opens the class browser</td>
		<td>
		<button onclick="save()">Export &amp; save JTalk to DB</button>
		<br />
		saves the current state to the database<br />
		the page needs be be reloaded</td>
		<td>
		<button onclick="reset()">Reset</button>
		<br />
		reset the state back to the jtalk.js<br />
		in the filesystem (of the server)</td>
		<td>
		<button
			onclick="window.open('jtalk_server?file=jtalk.js','window','width=640,height=480,resizable,scrollbars,menubar');return false;">show
		jtalk.js</button>
		<br />
		shows the last saved state for the<br />
		jtalk.js script in a new window</td>
	</tr>
</table>
<center>Here is a:<br />
<div id="playground">&lt;div id="playground"&gt; &lt;/div&gt;</div>
</center>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-7211682-4']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</body>
</html>
